package com.secsys.model;

import java.util.Date;

/**
 * 对应于数据库表：tb_sto_stockdaily【二】股票日线数据
 *@作者 tiger.hu.tiger@gmail.com
 *@创建日期 2011-5-1
 *@版本1.0
 */
public class TbStoStockdaily implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 8801982527751310101L;
	private Integer id;
	private TbStoStock tbStoStock;
	private Date operateDate;
	private Double startPrice;
	private Double maxPrice;
	private Double minPrice;
	private Double endPrice;
	private Double amount;
	private Long volume;

	// Constructors

	/** default constructor */
	public TbStoStockdaily() {
	}

	/** minimal constructor */
	public TbStoStockdaily(TbStoStock tbStoStock, Date operateDate) {
		this.tbStoStock = tbStoStock;
		this.operateDate = operateDate;
	}

	/** full constructor */
	public TbStoStockdaily(TbStoStock tbStoStock, Date operateDate,
			Double startPrice, Double maxPrice, Double minPrice,
			Double endPrice, Double amount, Long volume) {
		this.tbStoStock = tbStoStock;
		this.operateDate = operateDate;
		this.startPrice = startPrice;
		this.maxPrice = maxPrice;
		this.minPrice = minPrice;
		this.endPrice = endPrice;
		this.amount = amount;
		this.volume = volume;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbStoStock getTbStoStock() {
		return this.tbStoStock;
	}

	public void setTbStoStock(TbStoStock tbStoStock) {
		this.tbStoStock = tbStoStock;
	}

	/**
	 * 日期
	 * @return
	 */
	public Date getOperateDate() {
		return operateDate;
	}
	/**
	 * 日期
	 * @return
	 */
	public void setOperateDate(Date operateDate) {
		this.operateDate = operateDate;
	}
	/**
	 * 开盘价格
	 * @return
	 */
	public Double getStartPrice() {
		return startPrice;
	}
	/**
	 * 开盘价格
	 * @return
	 */
	public void setStartPrice(Double startPrice) {
		this.startPrice = startPrice;
	}
	/**
	 * 收盘价格
	 * @return
	 */
	public Double getEndPrice() {
		return endPrice;
	}
	/**
	 * 收盘价格
	 * @return
	 */
	public void setEndPrice(Double endPrice) {
		this.endPrice = endPrice;
	}
	/**
	 * 当天最高价格
	 * @return
	 */
	public Double getMaxPrice() {
		return maxPrice;
	}
	/**
	 * 当天最高价格
	 * @return
	 */
	public void setMaxPrice(Double maxPrice) {
		this.maxPrice = maxPrice;
	}
	/**
	 * 当天最低价格
	 * @return
	 */
	public Double getMinPrice() {
		return minPrice;
	}
	/**
	 * 当天最低价格
	 * @return
	 */
	public void setMinPrice(Double minPrice) {
		this.minPrice = minPrice;
	}
	/**
	 * 成交额
	 * @return
	 */
	public Double getAmount() {
		return amount;
	}
	/**
	 * 成交额
	 * @return
	 */
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	/**
	 * 成交量
	 * @return
	 */
	public Long getVolume() {
		return volume;
	}
	/**
	 * 成交量
	 * @return
	 */
	public void setVolume(Long volume) {
		this.volume = volume;
	}

}